gtk: mark buildable_get_id as nullable
authorBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Sat, 1 Jan 2022 17:12:05 +0000 (18:12 +0100)
committerBilal Elmoussaoui <bil.elmoussaoui@gmail.com>
Sat, 1 Jan 2022 17:12:05 +0000 (18:12 +0100)
the vfunc can return a nullable

gtk/gtkbuildable.c

index 1eb45c03081392eba418e2a9cc3ba0140264cc83..bcd88171ad6351840cc0d85cceb1f22284eaae36 100644 (file)
@@ -83,7 +83,7 @@ gtk_buildable_set_buildable_id (GtkBuildable *buildable,
  * `GtkBuilder` sets the name based on the ID attribute
  * of the <object> tag used to construct the @buildable.
  *
- * Returns: the ID of the buildable object
+ * Returns: (nullable): the ID of the buildable object
  **/
 const char *
 gtk_buildable_get_buildable_id (GtkBuildable *buildable)